<?php
class ModelMessageEthos extends Model {
	public function getEthos($ethos_id) {
		$query = $this->db->query("SELECT DISTINCT * FROM " . DB_PREFIX . "config_ethos where ethos_id='".(int)$ethos_id."'");
		return $query->row;
	}
	
public function getAllEthoss() {
		$query = $this->db->query("SELECT DISTINCT * FROM " . DB_PREFIX . "config_ethos ");
		return $query->rows;
	}
}
?>